<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="http://www.facebook.com/2008/fbml">
{% load facebook_tags %}
<head>
{% facebook_js %}
{% initialize_facebook_connect %}
{% load adminmedia %}
<link rel="Stylesheet" type="text/css" href="{{ STATIC_URL }}css/stylesheet.css" />
<script src="http://code.jquery.com/jquery-1.5.2.js" type="text/javascript"></script>
<script type="text/javascript">
window.__admin_media_prefix__ = "{% filter escapejs %}{% admin_media_prefix %}{% endfilter %}";
</script>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}css/widgets.css" />
<link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}css/base.css" />
<link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}css/global.css" />
<link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}css/forms.css" /> 
<script type="text/javascript" src="/admin/jsi18n/"></script>
<script type="text/javascript" src="{{ STATIC_URL }}admin/js/core.js"></script> 
<script type="text/javascript" src="{{ STATIC_URL }}admin/js/calendar.js"></script> 
<script type="text/javascript" src="{{ STATIC_URL }}admin/js/admin/DateTimeShortcuts.js"></script> 
</head>
<body>
<div class="page">
	<div class="banner" id="logo_banner">
		<ul class="navbar"> 
			<li class="logo"><img src="http://ckrston.com/friendlies.png" alt="picture not found"/>
			<li class="links"><a href="/home/">Home</a></li>
			<li class="links"><a href="/scheduling/">Scheduling</a></li>
			<li class="links"><a href="/games/">Games</a></li>
			<li class="links"><a href="/community/">Community</a></li>
			<li class="login">
					{% if logged_in_user %}
						<div id="user" style="position:relative; top:-58px; float:right">
							<h6 style="color:white; font-size:14px">{% show_facebook_photo user %}  {{ logged_in_user.first_name }}</br>{% show_logout %}</h6>

					{% else %}
						<div style="position:relative; top:-11px">{% show_connect_button %}</div>
					{% endif %}	
			</li>
		</ul>
	</div>
	{% block intro_video %}{% endblock %}
	{% block search_block %}{% endblock %}
	{% block search_results_block %}{% endblock %}
	{% block schedule_block %}{% endblock %}
	{% block game_block %}{% endblock %}
	{% block community_block %}{% endblock %}
	{% block content %}{% endblock %}
	{% block game_page_block %}{% endblock %}
</div>
<!--
<div class="footer">
	<ul>
		<li style="float:left; list-style-type:none; width=50px">About</li>
		<li style="float:left"><img src="rankbuilder.com/images/dot.jpg"></img></li>
		<li style="float:left">Social</li>
		<li style="float:left"><img src="rankbuilder.com/images/dot.jpg"></img></li>
		<li style="float:left">Feedback</li>
		<li style="float:left"><img src="rankbuilder.com/images/dot.jpg"></img></li>
		<li style="float:left">Contact Us</li>
	</ul>
</div>-->
</body>
</html>
